<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@include file="inc/head.inc"%>

<body>
<f:view>
	<t:dataTable styleClass="standardTable"
		headerClass="standardTable_Header" footerClass="standardTable_Header"
		rowClasses="standardTable_Row1,standardTable_Row2"
		columnClasses="standardTable_ColumnCentered2, standardTable_ColumnCentered10, standardTable_ColumnCentered10, standardTable_ColumnCentered10, standardTable_ColumnCentered8, standardTable_ColumnCentered10, standardTable_ColumnCentered10, standardTable_ColumnCentered10, standardTable_ColumnCentered2, standardTable_ColumnCentered8, standardTable_ColumnCentered2, standardTable_ColumnCentered8, standardTable_ColumnCentered10"
		var="user" value="#{myUsers.users}">
		<f:facet name="header">
			<t:div styleClass="standardTable_Header3">
				<h:outputText value="Użytkownicy"
					styleClass="standard_bold2" />
			</t:div>
		</f:facet>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Id" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.idUser}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Login" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.login}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Imię" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.name}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Nazwisko" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.surname}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Data urodzenia" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.birthDate}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Miasto" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.city}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Państwo" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.country}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="E-mail" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.email}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Status" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.status}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Data wstąpienia" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.joinDate}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Licznik postów" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.postsCounter}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Ostatnia wizyta" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.lastVisit}" />
		</t:column>
		<t:column>
			<f:facet name="header">
				<h:outputText value="Adres ip" styleClass="standard2" />
			</f:facet>
			<h:outputText value="#{user.ip}" />
		</t:column>
	</t:dataTable>
</f:view>
</body>


